package com.prs.crm.dao.oa.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.oa.RegulationTypeDao;

import com.prs.crm.domain.oa.RegulationType;

public class RegulationTypeDaoImpl extends BaseDaoImpl<RegulationType> implements RegulationTypeDao{
	
	@SuppressWarnings("unchecked")
	@Override
	public List<RegulationType> getAllRegulationType() {
		Criteria criteria = this.getSession().createCriteria(RegulationType.class);
		return criteria.list();
	}
	
}
